package com.zh.work.entity.channel;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel("代付渠道商户实体类")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("pay_channel")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PayChannelEntity extends Model<PayChannelEntity> {

  private static final long serialVersionUID = 2809230625305020583L;

  @ApiModelProperty(name = "主键", value = "id")
  @TableId(value = "id",type = IdType.AUTO)
  private Long id;
  @ApiModelProperty(value = "逻辑删除字段", name = "deleted")
  @TableLogic
  private Integer deleted;
  @ApiModelProperty(value = "应用编码", name = "appCode")
  private String appCode;
  @ApiModelProperty(value = "渠道编码", name = "channelCode")
  private String channelCode;
  @ApiModelProperty(value = "渠道名称", name = "channelName")
  private String channelName;
  @ApiModelProperty(value = "渠道地址", name = "urlRequest")
  private String urlRequest;
  @ApiModelProperty(value = "通知地址", name = "urlNotify")
  private String urlNotify;
  @ApiModelProperty(value = "代理号", name = "agentNo")
  @TableField(value = "agentno")
  private String agentNo;
  @ApiModelProperty(value = "状态(1-启用 2-禁用)", name = "status")
  private Integer status;
  @ApiModelProperty(value = "MD5密钥", name = "keyMd5")
  private String keyMd5;
  @ApiModelProperty(value = "RSA密钥", name = "rsaKey")
  private String rsaKey;
  @ApiModelProperty(value = "商户RSA密钥", name = "merchRsaKey")
  private String merchRsaKey;
  @ApiModelProperty(value = "备注", name = "remark")
  private String remark;



}
